//
//  XLChatInputPanelUser.h
//  XiangLove
//
//  Created by 李传坤 on 2018/4/18.
//  Copyright © 2018年 BAOMIHUA.COM. All rights reserved.
//

#import "ChatInputBaseView.h"

@interface XLChatInputPanelUser : ChatInputBaseView<ChatInputToolBarDelegate,ChatAudioInputDeletage>
{
@protected
    XLChatInputToolBarUser                    *_toolBar;
@protected
    __weak UIView<ChatInputAbleView>           *_panel;
@protected
    UIView<ChatInputAbleView>           *_emojPanel;
    UIView<ChatInputAbleView>           *_funcPanel;
    UIView<ChatInputAbleView>           *_audioPanel;
}
@property (nonatomic, strong) chatAudioPanel* recordView;
- (instancetype)initRichChatInputPanel;
- (void)setInputText:(NSString *)text;
- (IMAMsg *)getMsgDraft;
- (instancetype)initWithchatType:(BOOL)type;

//获取对方数据
- (instancetype)initWithCahtType:(BOOL)type andUser:(IMAUser *)user;

- (void)setMsgDraft:(IMAMsg *)draft;
@property (nonatomic, assign) BOOL type;

//是否是主播
@property (nonatomic, assign) BOOL  isAnchor;

@end


@interface RichChatInputPanelUser : XLChatInputPanelUser

@end
